home *** CD-ROM | disk | FTP | other *** search
- /******************************************************************************
- CWASTEDlgText.c
-
- A class with some of the functionality of CDialogText, but using CWASTEText
-
- ******************************************************************************/
-
-
- #pragma once
-
- #include "CWASTEText.h"
-
- class CDialog;
-
- class CWASTEDlgText : public CWASTEText
- {
- public:
- TCL_DECLARE_CLASS
-
- CWASTEDlgText();
- CWASTEDlgText(CView *anEnclosure, CView *aSupervisor,
- short aWidth, short aHeight,
- short aHEncl, short aVEncl,
- SizingOption aHSizing = sizFIXEDSTICKY,
- SizingOption aVSizing = sizFIXEDSTICKY,
- short aLineWidth = -1, Boolean aScrollHoriz = 0,
- Boolean aIsRequired = FALSE, long aMaxValidLength = MAXLONG,
- Boolean aValidateOnResign = TRUE);
- ~CWASTEDlgText();
-
- void IWASTEDlgText(CView *anEnclosure, CView *aSupervisor,
- short aWidth, short aHeight,
- short aHEncl, short aVEncl,
- SizingOption aHSizing, SizingOption aVSizing,
- short aLineWidth);
-
- virtual void IViewTemp(CView *anEnclosure, CBureaucrat *aSupervisor,
- Ptr viewData);
-
- virtual void DoKeyDown(char theChar, Byte keyCode, EventRecord *macEvent);
- virtual void GetTextString(StringPtr aString);
-
- protected:
-
- void IWASTEDlgTextX();
- virtual void MakeBorder();
- };
-
- // Change propagation constants for CDialogText
-
- enum
- {
- // indicates the text has changed in some way
- /* info parameter is pointer (short*) to pane ID */
- dialogTextChanged = 'DIA0', // TCL 1.1.3 10/30/92 BF
-
- dialogTextLastChange = dialogTextChanged
- };
-